Fast Randomized Consensus Using Shared Memory

نویسندگان

  • James Aspnes
  • Maurice Herlihy
چکیده

We give a new randomized algorithm for achieving consensus among asynchronous processes that communicate by reading and writing shared registers. The fastest previously known algorithm, due to Abrahamson, has expected running time 2°^\ Our algorithm is polynomial, requiring an expected 0 ( n 4 ) operations. Applications of this algorithm include the elimination of critical sections from concurrent data structures and the construction of asymptotically unbiased shared coins. This research was partially sponsored by the Office of Naval Research (DOD), under Contract N00014-88-K-0641. The work of J. Aspnes was supported by a National Science Foundation Graduate Fellowship. The views and conclusions contained in this document are those of the authors and should not be interpreted as representing the official policies, either expressed or implied, of the Defense Advanced Research Projects Agency, the National Science Foundation or the U.S. government.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Randomized Consensus in Expected O(n 2) Total Work Using Single-Writer Registers

A new weak shared coin protocol yields a randomized waitfree shared-memory consensus protocol that uses an optimal O(n) expected total work with single-writer registers despite asynchrony and process crashes. Previously, no protocol was known that achieved this bound without using multi-writer registers.

متن کامل

Time-and Space-eecient Randomized Consensus

A protocol is presented which solves the randomized consensus problem9] for shared memory. The protocol uses a total of O(p 2 +n) worst-case expected increment, decrement and read operations on a set of three shared O(log n)-bit counters, where p is the number of active processors and n is the total number of processors. It requires less space than previous polynomial-time consensus protocolss6...

متن کامل

An O(sqrt n) Space Bound for Obstruction-Free Leader Election

We present a deterministic obstruction-free implementation of leader election from O( √ n) atomic O(logn)-bit registers in the standard asynchronous shared memory system with n processes. We provide also a technique to transform any deterministic obstruction-free algorithm, in which any process can finish if it runs for b steps without interference, into a randomized wait-free algorithm for the...

متن کامل

n) Space Bound for Obstruction-Free Leader Election

We present a deterministic obstruction-free implementation of leader election from O( √ n) atomic O(logn)-bit registers in the standard asynchronous shared memory system with n processes. We provide also a technique to transform any deterministic obstruction-free algorithm, in which any process can finish if it runs for b steps without interference, into a randomized wait-free algorithm for the...

متن کامل

Asynchronous Consensus with Bounded Memory

We present here a bounded memory consensus Obstruction-Free algorithm for the asynchronous shared memory model. More precisely for a set of n processes, this algorithm uses n + 1 multi-writer multi-reader (MWMR) registers, each of these registers being of size O(log(n)) bits. Then we get a O(n log(n))-bits size complexity consensus algorithm with single-writer multi-reader (SWMR) registers and ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • J. Algorithms

دوره 11  شماره 

صفحات  -

تاریخ انتشار 1990